package com.mobile.service.dto;

import com.mobile.service.dto.base.BaseDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

import static io.swagger.v3.oas.annotations.media.Schema.AccessMode.READ_ONLY;
import static io.swagger.v3.oas.annotations.media.Schema.RequiredMode.REQUIRED;

/**
 * 用户权限表
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class AuthDTO extends BaseDTO {
    @Schema(description = "权限ID", accessMode = READ_ONLY)
    private Integer authId;
    @Schema(description = "权限编码", requiredMode = REQUIRED)
    private String authCode;
    @Schema(description = "权限名称", requiredMode = REQUIRED)
    private String authName;
}